package com.zhoug.player3.core;

import androidx.annotation.Keep;

/**
 * 设备能力集
 * @Author: zhoug
 * @Date: 2024-12-09
 * @Description:
 */
@Keep
public class CameraAbility {
    private String appId;
    /**
     * 设备名称
     */
    private String deviceName;
    /**
     * 设备id
     */
    private String deviceId;
    /**
     * 设备状态{@link CameraInfo#ONLINE,CameraInfo#OFFLINE}
     */
    private int deviceStatus;

    /**
     *清晰度
     * {@link ZPlayer#QUALITY_HD,ZPlayer#QUALITY_SD}
     */
    private int qualityVideo;

    /**
     * 是否支持 高清
     */
    private boolean supportHDVideo;
    /**
     * 是否支持 云台控制
     */
    private boolean supportPtz;
    /**
     * 是否支持 sdk存储回放
     */
    private boolean supportSdcardPlayback;
    /**
     * 是否支持 双工对讲
     */
    private boolean supportDuplexAudioTalk;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public int getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(int deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public int getQualityVideo() {
        return qualityVideo;
    }

    public void setQualityVideo(int qualityVideo) {
        this.qualityVideo = qualityVideo;
    }

    public boolean isSupportHDVideo() {
        return supportHDVideo;
    }

    public void setSupportHDVideo(boolean supportHDVideo) {
        this.supportHDVideo = supportHDVideo;
    }

    public boolean isSupportPtz() {
        return supportPtz;
    }

    public void setSupportPtz(boolean supportPtz) {
        this.supportPtz = supportPtz;
    }

    public boolean isSupportSdcardPlayback() {
        return supportSdcardPlayback;
    }

    public void setSupportSdcardPlayback(boolean supportSdcardPlayback) {
        this.supportSdcardPlayback = supportSdcardPlayback;
    }

    public boolean isSupportDuplexAudioTalk() {
        return supportDuplexAudioTalk;
    }

    public void setSupportDuplexAudioTalk(boolean supportDuplexAudioTalk) {
        this.supportDuplexAudioTalk = supportDuplexAudioTalk;
    }
}
